﻿<%@ Page Title="" Language="C#" MasterPageFile="Site1.Master" AutoEventWireup="true" CodeBehind="DDDDD.aspx.cs" Inherits="Zhongchouwwwww.webform.DDDDD" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Content/bootstrap.css" rel="stylesheet" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css" />
    <link href="../Content/aaa.css" rel="stylesheet" />
    <link href="../Content/Index-item.css" rel="stylesheet" />
    <script src="../Scripts/jquery-3.4.1.min.js"></script>
    <script src="../Scripts/bootstrap.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content2" runat="server">
    <%--<form id="form1" runat="server">--%>
        <div>
            <asp:Button Text="全部" ID="DataShow_all" runat="server" OnClick="DataShow_all_Click" />
            <asp:Button Text="筹备中" ID="DataShow_ing" runat="server" OnClick="DataShow_ing_Click" />
            <asp:Button Text="已完成" ID="DataShow_ed" runat="server" OnClick="DataShow_ed_Click" />
            <asp:Repeater runat="server" ID="Projectitem">
                <ItemTemplate>
                    <div style="width:50%;border:solid black 1px">
                        <a href='Project.aspx?id=<%# Eval("projectid") %>'>
                        <div class="progress">
                            <div class="progress-bar progress-bar-danger" role="progressbar"
                                aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
                                <%# "style="+"width:"+Eval("progress") %>%;" >
                            </div>
                        </div>
                        <asp:Label Text='<%# Eval("projectid") %>' runat="server" />
                        <asp:Label Text='<%# Eval("projectname") %>' runat="server" />
                        <asp:Label Text='<%# Eval("time") %>' runat="server" />
                        <asp:Label Text='<%# Eval("targetmoney") %>' runat="server" />
                        <asp:Label Text='<%# Eval("state") %>' runat="server" />
                        <asp:Label Text='<%# Eval("progress")+"%" %>' runat="server" />
                        <asp:Label Text='<%# Eval("remainingday")+"天" %>' runat="server" />
                        <asp:Image ImageUrl='<%# Eval("imageurl") %>' runat="server" />
                            </a>
                    </div>
                    
                </ItemTemplate>
            </asp:Repeater>
           <div>
               <h1>------------------测试测试-------------------------</h1>
               <asp:DataList ID="DataListS" runat="server" RepeatColumns="5" RepeatLayout="Flow" >
                        <ItemTemplate>
                            <div style="margin-left:15%;width:50%;border:solid black 1px;display:block " >
                            <table class="nav-justified">
                                <tr style="border:solid red 1px;">
                                    <td style="width:100%;height:150px;">
                                            <div class="lop">
                                                <img src='<%# Eval("imageurl") %>' style="width:100%;height:100%"  />
                                                <span class="lopa"><%# Eval("collection") %></span>
                                            </div>
                                    </td>
                                </tr>
                                <tr style="border:solid red 1px;">
                                    <td>
                                        <span><%# Eval("projectname") %></span>
                                    </td>
                                </tr>
                                <tr style="border:solid red 1px;" >
                                    <td>
                                        <span style="margin:2px;color:gray">目标:</span>
                                        <span><%# Eval("time")+"天"%></span>
                                        <span><%# "￥"+Eval("targetmoney") %></span>
                                        <span style="color:white;background-color:red;"><%# Eval("state") %></span>
                                    </td>
                                </tr>
                                <tr style="border:solid red 1px; height:10px;">
                                    <td style="height:10px;">
                                        <div class="progress" style="width:90%;height:10px;margin-right:3%;display:block">
                                            <div class="progress-bar progress-bar-danger" role="progressbar"
                                                aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
                                                <%# "style="+"width:"+Eval("progress") %>%;" >
                                             </div>
                                        </div>
                                    </td>
                                </tr>
                                <tr style="border:solid red 1px;">
                                    <td>
                                        <span style="margin-left:1%"><%# Eval("progress")+"%" %></span>
                                        <span style="margin-left:5%">￥<%# Eval("incomemoney") %></span><span style="margin-left:14%"><%# Eval("remainingday") %>天</span>
                                    </td>
                                </tr>
                                <tr style="border:solid red 1px;">
                                    <td>
                                        <span style="margin-left:1%;color:gray">已达</span>
                                        <span style="margin-left:5%;color:gray">已筹备</span>
                                        <span style="margin-left:8%;color:gray">剩余时间</span>
                                    </td>
                                </tr>
                            </table>
                                </div>
                        </ItemTemplate>
                        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    </asp:DataList>
           </div>
           
        </div>
    <%--</form>--%>
</asp:Content>
